Skip to content

refactor(Topology/Sion): use a dense and continuous completion to generalize the statements#38190

Open
AntoineChambert-Loir wants to merge 35 commits intoleanprover-community:masterfrom
AntoineChambert-Loir:ACL/DedekindCut-Sion
Open

refactor(Topology/Sion): use a dense and continuous completion to generalize the statements#38190
AntoineChambert-Loir wants to merge 35 commits intoleanprover-community:masterfrom
AntoineChambert-Loir:ACL/DedekindCut-Sion

Conversation

@AntoineChambert-Loir
Copy link
Copy Markdown
Collaborator

Use the existence of a dense and continuous completion to simplify the final part of the proof of Sion's theorem.

As a matter of fact, only an early lemma needs to be modified and the rest holds in weaker assumptions,
leading to a serious simplification.

Since the PR proving Sion is very recent and unused, we didn't add deprecation lemmas.


Open in Gitpod

AntoineChambert-Loir and others added 25 commits April 11, 2026 22:21
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Apr 17, 2026
@mathlib-dependent-issues
Copy link
Copy Markdown

@AntoineChambert-Loir AntoineChambert-Loir changed the title refactor(Topology/Sion) refactor(Topology/Sion): use a dense and continuous completion to generalize the statements Apr 17, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 17, 2026

PR summary 885827f111

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Topology.Sion 1451 1448 -3 (-0.21%)
Import changes for all files
Files Import difference
Mathlib.Topology.Sion -3
Mathlib.Topology.Order.Completion (new file) 859

Declarations diff

+ DedekindCut.continuous_principal
+ Fill
+ continuous_some
+ exists_dense_continuous_completion
+ exists_lt_iInf_of_lt_iInf_of_sup'
+ instance : DenselyOrdered (Fill α)
+ instance : TopologicalSpace (Fill α) := Preorder.topology _
+ instance [DenselyOrdered α] : DenselyOrdered (DedekindCut α)
+ instance [Preorder α] [Preorder β] [NoMaxOrder β] [DenselyOrdered β] :
+ instance [Preorder α] [Preorder β] [NoMinOrder β] [DenselyOrdered β] :
+ instance [TopologicalSpace α] [OrderTopology α] : OrderTopology (Fill α)
+ le_principal_iff
+ lt_iff_exists
+ lt_iff_exists'
+ lt_principal_iff
+ principal_le_iff
+ principal_lt_iff
+ some
- DMCompletion.exists_isSaddlePointOn
- exists_isSaddlePointOn'
- exists_saddlePointOn'

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 17, 2026

✅ PR Title Formatted Correctly

The title of this PR has been updated to match our commit style conventions.
Thank you!

Comment thread Mathlib/Topology/Sion.lean Outdated
Comment thread Mathlib/Topology/Sion.lean
Comment thread Mathlib/Topology/Sion.lean
AntoineChambert-Loir and others added 2 commits April 20, 2026 10:55
Co-authored-by: Violeta Hernández Palacios <vi.hdz.p@gmail.com>
Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@u-paris.fr>
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Apr 20, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Apr 21, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Apr 21, 2026
@mathlib-merge-conflicts
Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants